import hxbase.publicapi.googlemaps.GoogleMaps;
import hxbase.events.Event;

class GWrap
{
	public static function main()
	{
		trace("Init complete");
		var m = new Map2( js.Lib.document.getElementById("map") );
		m.addControl( new LargeMapControl() );
		m.addControl( new MapTypeControl() );
		m.addControl( new OverviewMapControl() );
		m.addControl( new ScaleControl() );
		m.events.load.bind.
		m.setCenter( new LatLng(37.4419, -122.1419), 12 );
	}
	
	public static function unload()
	{
		Map2.Unload();
	}
}